package edu.gdkm.service;
import edu.gdkm.pojo.User;
import java.util.List;
public interface UserService {
    public boolean login(String username, String password);
    public boolean register(User user);
    public void logout();
    public boolean changePassword(User user,String oldPassword, String newPassword);
    public boolean deleteUser(Long id);
    public boolean updateUser(User user);
    public List<User> selectAll();
}